package com.yanqu.road.entity.activity.toyhouse.config;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.utils.property.Property;

@FieldTypeAnnotation(tableName = "t_s_activity_toy_house_comb")
public class ToyHouseCombConfig {

    @FieldTypeAnnotation
    private int combId;
    @FieldTypeAnnotation
    private String name;
    @FieldTypeAnnotation
    private String element; // 组合所需元素，格式：id=数量;id=数量;id=数量

    // 缓存
    private Property elementProp;

    public int getCombId() {
        return combId;
    }

    public void setCombId(int combId) {
        this.combId = combId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getElement() {
        return element;
    }

    public void setElement(String element) {
        this.element = element;
    }

    public Property getElementProp() {
        return elementProp;
    }

    public void setElementProp(Property elementProp) {
        this.elementProp = elementProp;
    }
}
